﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.DebuggerVisualizers;
using System.Runtime.Serialization;
using System.Data;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            DataSet ds = new DataSet();
            ds.Tables.Add();

            ds.Tables[0].Columns.Add("Name");
            ds.Tables[0].Columns.Add("Age", typeof(int));
            ds.Tables[0].Columns.Add("Address");
            ds.Tables[0].Columns.Add("City");
            ds.Tables[0].Columns.Add("State");
            ds.Tables[0].Columns.Add("Zip");

            for (int i = 0; i < 10; i++)
                ds.Tables[0].Rows.Add(new object[] { "Test " + 1, i });
            
            VisualizerDevelopmentHost host = new VisualizerDevelopmentHost(ds, typeof(PoSHVisualizer.PoSHVisualizer));
            host.ShowVisualizer();
        }
    }

}
